//
//  ccTabBarController.m
//  CloudCat
//
//  Created by Xiaomin Cai on 4/7/12.
//  Copyright (c) 2012 Taobao. All rights reserved.
//

#import "ccTabBarController.h"

@interface ccTabBarController ()

@end

@implementation ccTabBarController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
    [self setTabURLs:[NSArray arrayWithObjects:@"tt://nib/ccHomeViewController",
                      @"tt://menu/2",
                      @"tt://menu/3",
                      @"tt://menu/4",
                      @"tt://menu/5",
                      nil]];
}

- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

@end
